﻿using eslib.tools.config;
using SpeechLib;

namespace demo
{
    public class SpeechSetting
    {
        public SpeechSetting()
        {
        }


        public 播音员 播音员 { get; set; }

        public int 语速 { get; set; }

        public string 音频格式 { get; set; }


        public static SpeechSetting Instance
        {
            get
            {
                if (_ins == null)
                {
                    _ins = GenericJsonConfig.Load<SpeechSetting>("speech_setting.json");
                }
                return _ins;
            }
        }
        static SpeechSetting _ins = null;

    }

}